package com.beadhouse.nurlevel.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.beadhouse.common.dao.TemplateDao;
import com.beadhouse.entity.NurContentEntity;
import com.beadhouse.entity.NurLevelAndNurContentEntity;
import com.beadhouse.entity.NurLevelEntity;

public interface NurlevelContentDao extends TemplateDao<NurLevelEntity, Integer>{
	List<NurLevelAndNurContentEntity> selectList(@Param("id")int id)throws Exception;
	void insert(NurLevelAndNurContentEntity nlc)throws Exception;
	NurLevelAndNurContentEntity	selectOne(@Param("levelId")int levelId,@Param("contentId")int contentId)throws Exception;
	List<NurContentEntity> selectAllContent()throws Exception;
}
